/*
 * Copyright (c) ycq_work@163.com
 */

package com.mxg.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author: ycq_work@163.com
 * @DATE: 2023/7/25 11:02
 * 留言内容
 */
@TableName("visitor_message")
@Data
public class Message {
    @TableId(value = "message_id", type = IdType.AUTO)
    private Integer messageId;				                //访客编号

    @TableField(value = "message_connect")
    private String messageConnect;  	                    //访客名

    @TableField(value = "message_created_at")
    private String messageCreatedAt;  	                    //访客邮箱

    @TableField(value = "message_visitor_id")
    private String messageVisitorId;  	                    //对应的访客Id

    @TableField(value = "message_name")
    private String messageName;  	                        //对应的访客Id

    @TableField(value = "message_email")
    private String messageEmail;  	                        //访客Ip

    @TableField(value = "message_phone")
    private String messagePhone;  	                        //访客电话

    @TableField(value = "message_ip")
    private String messageIp;  	                            //访客Ip

    @TableField(value = "message_status")
    private String messageStatus;  	                        //留言状态, 否被查阅(1是未读, 0 是已读)
}
